package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.HatchetPlanItem;
import java.util.List;	

/**
 * 还款计划明细 数据层
 * 
 * @author ruoyi
 * @date 2019-03-02
 */
public interface HatchetPlanItemMapper 
{
	/**
     * 查询还款计划明细信息
     * 
     * @param iD 还款计划明细ID
     * @return 还款计划明细信息
     */
	public HatchetPlanItem selectHatchetPlanItemById(String iD);
	
	/**
     * 查询还款计划明细列表
     * 
     * @param hatchetPlanItem 还款计划明细信息
     * @return 还款计划明细集合
     */
	public List<HatchetPlanItem> selectHatchetPlanItemList(HatchetPlanItem hatchetPlanItem);
	
	/**
     * 新增还款计划明细
     * 
     * @param hatchetPlanItem 还款计划明细信息
     * @return 结果
     */
	public int insertHatchetPlanItem(HatchetPlanItem hatchetPlanItem);
	
	/**
     * 修改还款计划明细
     * 
     * @param hatchetPlanItem 还款计划明细信息
     * @return 结果
     */
	public int updateHatchetPlanItem(HatchetPlanItem hatchetPlanItem);
	
	/**
     * 删除还款计划明细
     * 
     * @param iD 还款计划明细ID
     * @return 结果
     */
	public int deleteHatchetPlanItemById(String iD);
	
	/**
     * 批量删除还款计划明细
     * 
     * @param iDs 需要删除的数据ID
     * @return 结果
     */
	public int deleteHatchetPlanItemByIds(String[] iDs);
	
	/**
	 * 代理商查询还款计划明细列表
	 * @param hatchetPlanItem
	 * @return
	 */
	public List<HatchetPlanItem> selectHatchetPlanItemListForDLS(HatchetPlanItem hatchetPlanItem);
	
	/**
	 * 批量添加计划明细
	 * @param items
	 * @return
	 */
	public int insertByBatch(List<HatchetPlanItem> items);
	
	/**
	 * 高级顾问查询计划明细列表
	 * @param hatchetPlanItem
	 * @return
	 */
	public List<HatchetPlanItem> selectHatchetPlanItemListForJLR(HatchetPlanItem hatchetPlanItem);
	
}